package pri.zxx.jvm.pcregister;

/**
 * @author Twilight
 * @desc 栈溢出测试 -Xss 设置栈最大值
 * @createTime 2020-05-24-10:50
 */
public class OutStackTest {

    public static void main(String[] args) {
        OutStackTest outStackTest = new OutStackTest();
        outStackTest.cyclic(1);
    }

    public void cyclic(int i) {
        i++;
        System.out.println(i);
        cyclic(i);
    }
}
